package com.express.param;

import org.hibernate.validator.constraints.NotEmpty;

public class AddUserReq extends BaseModelReq{
	@NotEmpty(message="userName不能为空")
	private String userName;
	@NotEmpty(message="password不能为空")
	private String password;
	private String mobile;
	private int role;
	private int sex;
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getMobile() {
		return mobile;
	}
	public void setMobile(String mobile) {
		this.mobile = mobile;
	}
	public int getRole() {
		return role;
	}
	public void setRole(int role) {
		this.role = role;
	}
	public int getSex() {
		return sex;
	}
	public void setSex(int sex) {
		this.sex = sex;
	}
	
	
}
